ACTIVE_FROM which is not in SELECT list

ACTIVE_FROM which is not in SELECT list; this is incompatible with DISTINCT

add into my.cnf file

slq-mode = ""

or add into bitrix/php_interface/after_connect.php file